From 31e3602bb6f2d3e7e730c07c66c90628b063ef71 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 5 Mar 2014 21:10:33 -0500 Subject: [PATCH] * doc/lispref/searching.texi (Replacing Match): Remove incorrect return value --- doc/lispref/ChangeLog | 5 +++++ doc/lispref/searching.texi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 1030d837303..2663054e569 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog @@ -1,3 +1,8 @@ +2014-03-06 Glenn Morris + + * searching.texi (Replacing Match): + Remove incorrect, uninteresting return value. (Bug#16942) + 2014-03-05 Martin Rudalics * display.texi (Window Dividers): New section. diff --git a/doc/lispref/searching.texi b/doc/lispref/searching.texi index 2f287cc9705..992ad001fe7 100644 --- a/doc/lispref/searching.texi +++ b/doc/lispref/searching.texi @@ -1284,7 +1284,7 @@ If you did the last search in a buffer, you should omit the the current buffer is the one in which you performed the last search. Then this function edits the buffer, replacing the matched text with @var{replacement}. It leaves point at the end of the replacement -text, and returns @code{t}. +text. If you performed the last search on a string, pass the same string as @var{string}. Then this function returns a new string, in which the -- 2.30.2